import Vuex from 'vuex';
import Vue from "vue";
import home from "@/store/modules/home";
import user from "@/store/modules/user";
import search from "@/store/modules/search";
import detail from "@/store/modules/detail";
import shopCart from "@/store/modules/shopcart";
Vue.use(Vuex);

const state = {}
const mutations = {}
const actions = {}
const getters = {}
const store = new Vuex.Store({
    state,
    mutations,
    actions,
    getters,
    modules:{
        home,
        user,
        search,
        detail,
        shopCart
    },
});
export default store;